Added license; re-factored account dao and account; changed transaction
types and made quick fixes for accounts and transactions where possible;
closed issue #3