Add DBManager File and add post functions, and modified some things