Adding common code for lotuce aravis app