Initial commit: buy and listing functionality