Created the Cargo.java class