adding new directories and some more server code