renamed LICENSE
moved all queries from view callables to models