Add gpu.py, basic class implementation