added snake, map classes