refactored stock and stocklist into sep. modules