Added init to main app