updated composer to psr4 and documenation updates