added version to single pkg files, refactored example app deployment