classes jar task, some fixes and features