added services to remove database dependancy from views