.deb and .rpm package generation

initial work on #89 and #224.