improvements on packaging in order to get rid of client side dependencies on the server classpath