Reordered functions and fixed formatting.
Moved language dropdown to root

+ small style changes (added lines at the end of files, changed quotes
to single quotes)