Rearranged gem file to accommodate sqlite and pg