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.