re-design data structures, starting gui