Added mod_rewrite for cleaner API URLs