added validations for tags to Media
added methods for seraching the database
added methods to search database
added search controller features and parsing
added search controller