Fixed some coding standards
Moved directory structure

Classes in the same namespace are better for test, because you can
overwrite any PHP function in a namespace.
Fixed wrong regex parser

* Created method assemble() to parse regular expression;
* Fixed literal() method;
* Fixed range() method;
* Fixed alternatives() method.