Game library code that is here temporarely waiting for a better place