added game base library
refactoring and optimization
comment on fnv hash and some small changes