Move BlocksRuntime to lib/ directory