Added some example tests for the API and changed the file structure a little for configuration.