added view and public dir