adds config directory
adds extra check when authorising
removes log
adds local controllers
adds local model factories
fixes virtual association properties in where clause