added full_url to constructor and other minor changes