A basic starting point for concrete5 packages, with samples of code you might use.