fixed socket error
implementing db
added basic db stuff and fake db stuff ande more testing stuff
added config file to set where to load markdown files