Also moved some objects out of config.go and put them in their own package, internal/models fixes #568 closes #285