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
Check the blame. It might as well be yours already lol