Get rid of locksmith module

Most of it was no longer used. Inlined the rest into user.