Documentation and renaming

Ending the documentation for all the files, renaming and updating the
architecture of the application.