MAV create process

Implemented more simpler code to create a process.