put loading of charms into a helper function

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #48 from battlemidget/patch-load-charms

put loading of charms into a helper function