Fixed some crashes, added example Server (not a working server just a placeholder)