Convert to gradle based build
Hide when not rendered
Use gradle to start the app