updated to psr4 and documenation changes