Bundle Cleaning and asset management

Removed some unused dependancies, localised most of the assets, fixed
account generation and deleted unused code.