adds front-end version, reorganizes directory structure