doing some error checking for locations

also moved js from default to the actual controller
 - will need to do it in the buffer
added the db outline
 - need to create an import script