add interface for k module system

@cos please review