Added inventory management and respawning

Also added a new logger (with configurable debugging)