New database

Many new things. check comments.