first phase of front end refactor into Eric
1st usabe cut of Eric