Some bug fixes and remote access to database.

I’ve added some new features but they’re still need to be tested.
Merge pull request #6 from MikeKPI/master

"All you need is love." - John Lennon ©