Fixed all problems introduced by moving to maven - code is now totally working.
Removed jicos maven dependency and added build configurations.