Code and explanations for the TOP CMS when creating plugins