add license to files
clean imports a little
backend updates and minor fixes