Code style and comments

Added comments.
Exported string and dimension values to their value files.
Deleted old/unusable code.
Edited all entries layout.