Basic flag parsing
Loading the schema from db