Removes factory function.

Resolves #7
Merge pull request #8 from jmeas/bye-factory

Removes factory function.