Const Correctness

Implement Const Correctness across all code