Directory reorg:
- Move lib/ to engine/
- Move server/ into engine/server/
- Remove dead code