[#2222] Added a lot of const, changed some parsing to use boost