moved constants to new class, "Constants". Easier, smarter, cleaner.
added some comments in code