Renamed some methods and changed the visibility to make the library more easier to extend (should not affect functionality)
Moved getScale method in an utilities object