creating app-server