Refactored some malloc-family wrapper functions (for c files only) and added a 'create account' mechanism for the interface.