Finished frontier server, though only the data structures are tested. The logic should be good.