Initial commit of Factors

Another pull request!