Wrote server with functioning sqlite database and first basic functions.