move everything belongs to server-side into a server folder