add shortener class to fetch and store urls. Use shorten.php to take the post-data fo fetching or storing.