Moved SQL queries from Actor to Model