removed old files
separated client and server apis