Added new function for loading a model.
Added profiles for new functions.
Main loop for detection and tagging.