Moved configuration to directory, fixed endless loop issue and updated index.html