added model && cfg
added db scripts