Implemented access and errors logging and supervisor plus other things