Separated basic server into easier small files