class t convert one unit to another

1. Class contains function for convert one unit to another.
2. Use new class in few source code