Send confirmation email. Issue #13
Move several files to proper packages
Simplify resource method contract and implementation