Added AppBar class for converting forms into AppBars