finished overhauling the front end stack. needs testing to see if it will actually work