Added more comments to the front end, preparing for a big refactor