Removed stray comment, changed spec back to dot
Started refactoring UI into directives
Restructured lib a bit