removed some cruft

simplified IndexManager & ContentLoader
removed unused methods
- removed cruft from xm.encode
merged tsdUtils into defUtils
removed some xm sub directories
- moved fileIO to root
- moved JSON and lock stuff to lib
- removed stack util