How to build a framework