render types on gui; refactoring; implementing selection mechanism