added more analysis type support and added ledger entry decorator