Cleaned up my capstone module.

This caches the mysql password so that it actually works with the
console database and doesn't blow things away.

Also cleans up the module so it's readable.