creates WikkaResources class to handle db connection; adds WikkaModel query methods and unit tests