shifting plugin import to a seperate module