Rename code dir to code-name

 - This reflects the Python pkg standard
Add tests dir beneath code-name