code cleanup, only export needed methods
track dependencies