added some positioning logic at start and started on the door generation and resource access handling