add boostrap ui and live/edition preview mode