Custom settings layout

Added a custom settings layout. cleaned up the project structure, and
added gradle.