Implemented new structure for accounts, now they can live as a separated entity and can be instanciated outside core