added lots of library code
added to gamelib
fixed
added new res
Merge branch 'develop'
added a bunch
Merge branch 'develop'