Added comments and removed final keyword in selected places
Fixed getSieve()