Refactor some methods.

Update general README
Refactor CastingType class, I made static class