Add explicit module declaration
Move init code to earlier in main
Add blank lines for clarity
Add getColor function
Use Solarized foreground and background