Work on resource and settings managers, added some documentation.