Moved map initialization above app initialization