spinnakerify and move credentials model to use amos