Add a .gitignore for dev env management

without conflicting with current github file structure
Apply my more readable code style formatter

No other code changes.
Undo the Formatting on external API

Refactor names and clean up code and file structures