Stock management page now functional. Cleanup to come