added build.gradle and restructured project.