Init main app