personService.createPerson() is the core API method to create a Person. You should ensure you setup the appropriate properties and the user home space property.
An example of the code to do this can be found in org.alfresco.web.bean.wizard.NewUserWizard in the finish() method.