Refactored "gradient" classes into GameLibrary