Brender flask architecture

Merging the new architecture of brender!