General cleanup and moved big libraries out of top-level gamelib namespace