Resolves #4 Stops data

Using trashy sync fs operations :(
Should do for now, but it's better to rewrite server file stuff with promises.