Implemented resource factory build command