Moved a lot of stuff around. Splitted the app into self contained directives.
There we go. Just a big commit.