make index determine and use the full file paths to the configuration files
add sanity check for api user and key lengths
add import force command and model method
set up first unit test. Restructure config files