text based event scheduler written in java