cleanup
using :equal? instead of :==
refactored model
prepared some tests
updated default rake task
implemented java extension files