Creating directorys and editing mainview at  index.html