Styling cleanup and code layout.
Also including new examples directory