refactoring as chrome app

Everything’s pretty broken right now