Added security when fetshing data from url

Added "filter" to the filter method and formating to dubble named
controllers.
Minor changes
Added protected variables to hold some classes