separating frontend into public, and loading files from samples folder. Also, we have a log.