Init app, create index file