added travis support. fixed calendar class