Added DB interactions to Flag Submission server
Chenged CTFConfig structure