Added search functionality and pulled forecast out in directives