Added server

Initial commit containing server code. Setting up unit testing framework
using travis and coveralls.