adding database & modules