added create_directory function and altered moviecontroller oberserver