misc updates

-Refactor the code to be more readable
-Modernize the UI
-Remove useless files

...and some more.

Change-Id: I6b1d2a33fb5e84110d5aafe976f05f3f40de29d0