Preparation for library use
Revert "Preparation for library use"

This reverts commit faf46a1c9586a5de6710f44ddac367cb724d474c.
Added implementation for resetting scale, preparation for library use