Moved code to separate project for enhanced submodule-friendliness.