Backend part for cashonline project (clone of gnucash)