Feature/#182 server side logic for database receiver

The server-side logic for the database receiver has been completed and some tests have been passed. Travis failing because of issues with the serial connectivity.