Import tool

Well, now that it works, we may as well put it into master so that we can branch off each individual feature.