namespace change and code cleanup to pass psr-2
namespace change and code cleanup to pass psr-2, update readme