apv_machine create

Completed logic for machine create section