setup redlion with initial code