mongo support!
better encoding setup
reorganized files