Refactor jboss base and jboss build images