Feature/10 postgresql

Close #10