second constructor to GlassController for unit testing