Added more content to main page
Added preliminary 'api' support

You can call:
BASE_HREF/search/1/json?q=search+string
And you will get a json formatted response.