Add stock-module functionality

Resolves #24