parameters class, tools, email tool, exceptions

added a parameters class to encapsulate parameters for all actions
added tools concept (classes with a specific contained purpose)
added an email tool
custom exceptions