Add unit server

Unit can now be loaded from a json file (except for stats).
Waiting for the new json for loading stats.