Removed dependencies on external modules

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>