add basic init, feature, and patch functionality