issue #12 - cleanup and restructure

- the entry point for the application has been moved into its own package.
- every other component now resides in core.
    - core is comprised of services, exceptions, resources and various other classes which have yet to be sanely categorised.
        - services will consist of things like redis or javarosa.
        - exceptions is self explanatory.
        - resources will consist of service endpoints.
    - some vestigial classes and components have been removed.
    - parts of the remaining codebase have been prettified somewhat with indentation fixes. i've probably missed some things, but it's a good start.
- at bootstrap time, the application registers a single resource just to finish the bootstrap process. the implementation for this resource is stale and will be rewritten in future commits.