package: rearranges karma packages
main: move the upload to as3 functionality to another module