added some code. sprite/object pooler is coming next