moved main logic in separate class; bump version