Fixed some bugs in file upload and store creation, also commented stuff that should not be used in tools.