Bootstrap 3
Add loading modal
some more ajax
Add historyjs support
Move some generic functions to main
Start adding support for wind direction
Rename type to group, and add new type for supporting winddirection