MAV process id

Created a method that will create a process. This method has a static
variable that is the id of new process.