# Here we import all necessary staff from external files

# tools
from .tools import matvec, col, kron, dot, mkron, concatenate, sum, reshape
from .tools import eye, diag, Toeplitz, qshift, qlaplace_dd, IpaS
from .tools import ones, rand, linspace, sin, cos, delta, stepfun, unit, xfun

# main classes
from .matrix import matrix
from .vector import vector, tensor

# utility
from . import utils

@@ -51,16 +51,95 @@
  files%0A%0A
+# main classes%0Afrom .matrix import matrix%0Afrom .vector import vector, tensor%0A%0A%0A
 # tools%0A
@@ -363,86 +363,8 @@
 un%0A%0A
-# main classes%0Afrom .matrix import matrix%0Afrom .vector import vector, tensor%0A%0A
 # ut
@@ -389,8 +389,13 @@
 t utils%0A
+%0A%0A%0A%0A%0A

Revert "Import order changed to break tools dependency"