Feature/21 postgresql

Close #21