Modified the server to actually do stuff.
Added permasort.