Externalized abstract code into pbskids-game lib