Better cli/gui/library code separation.