Add license and split up lrt.go source file