Refactored libs as methods of Asteroid.utils