New version: perfomance optimization, new approach to work with Date object, bugs fixed.