added server stuffs
added orientation controls