Convert Locksmith to a framework

This makes it easier to install and update based on changes to the library.