cleaned up text functions and added settings object to socimar