some update
Merge branch 'update'
Merge pull request #6 from psilva261/master

Updated interfaces, some more DB code