moved base_url to param, added copyright