adding debian packaging basis files
Add some error handling