Added rudimentary tool for dissecting library files. Moved some scripts to tools/.