added some comments
moved movie library data out of controller into factory