quick and dirty component based game object
add createFactory method to gameobject