add namespace and composer autoload. fix readme