Preheat oven to 350 degrees. In a large bowl, combine flour and baking powder. Set aside. In a mixing bowl, combine sugar and butter until light and fluffy. Add the egg. Mix well. Next, add the milk and the extracts. Mix well. Add half the flour mixture and mix well. Finally, add the rest of the flour.