Removed getconfig and imports of it