add commons class with some constants