fix build errors, cleanup dependencies and remove final commons-beanutils dependency