Refactored player, settlement objects. Added jQuery to lib