fixed dicontainer and added basic controllers