server now builds everything needed for the client

removing the public folder on build