Added view 'main' and changed fb api initial configuration