Update and rename data.php to Datatable.php

Converted to library so that its reusable,