[OTFC] Added more structure

Better constants.
Re-structured index block.
Modularized config structure.
Implemented Get/Set that kinda works.
Added few test cases.