added docblocs and moved functionality around as needed for refactoring.  deleted unused feels and functions