convert html to slim in index and application files