Added basic Account API
Fixed stupid recursion mistake
Fixes notice