updated dependencies
added postinst and postrm scripts