Build base framework