Organizing the source files

Instead of defining more than a class per code file, now each class has
its own class and the code files have been organized in folders based on
their namespace.