Server Side changes

Updated server-side code to eat all the data and fee to the db.
FEED MOAR DATAZ.

Also made changes to the search API to read form DB rather than file
before returngin