Added api php with connects to mongo db for accounts and transactions.