cleaning up imports #533
add status code to unknown error messages
import & style updates