initial stab at bootstrap and cleanup of front end