Create controller.php

Fetches video details from database