Adding preliminary work on states, directives, controller and quicktime integration.