added models + db basics, added postgres