edited big functions into paragraph sized ones

added recipient limits to config
added expire_days to config (was hard coded)