first version of simple server