Implemented type args in config schema; added 'enum' and 'regex' types
Update ConfigSchema to support iteration, len and getitem
Added ProcessResource to model
Implemented permission saving for FileResources
Added new base class for all model resources
Renamed Host model to HostResource
Added DirectoryResource; implemented discovery for files and directories