added menu navigation with empty viewcontrollers
refactored some allocations to prevent memory leaks