Nightly build. Got the database working, but need to optimize it further