clarified user allow rules
broke package into sub packages
cleaned up foo code
cleaned up foo class