Added better config management (added page and boolean types)

* Added clientEnabled switch for disabling client globally (useful for
debugging)
* Added input classes for HTML forms
* Updated comments