Moving code to Internal module
Move Wire class and related code to new module
Modulizing...