API improvements

Update, add, delete where checked and tests added. Exceptions module was created.
where should it find sub, then? One way sub, should be complete path without extension?