adds railroad diagram files, converts controllers to directives, makes index pretty

Don't freak out about all the deleted files, I renamed the controller files to be directives. 

I'm not 100% sure why Mike's commits are included in this pull request. If you have doubts, don't merge.