- add validation of account types with testing
- cleaned import from model_core and piecash