installs node dependencies in root and client dependencies via bower in client folder. creates database