Added Router for the Plugin
Added Code to handle calling read from either router or normal url