helper classes for Corona SDK