Use a better compiled container

Made the container have public methods for getting the services to avoid using strings to reference them. Fixed the type hints so IDE can suggest methods e.t.c. without adding typehint comments. Added a namespace to the compiled container