Updating documentations and minor refactoring

Summary:
- Move some constants that is only used by a class into that class
- Minor refactoring to the tests due to the constants are now private to the abovementioned class
- Various documentations update
...best not to. we are aligning using tabs.