Splitting up the functionality

Working toward more of an object-oriented concept. Splitting up
different functionality and keeping them all concise.

I also included category and note organization.