implement controller
fix build.gradle