repositioned o.resize method
modularized compress and decompress codes
change compressOnWidth to compressAllAtOnce
added resize key for key generation
created keys for plugin and create random string generator to futher prevent namespace collision