add a frame to te boundingbox and set the main view of the app