fixed code formatting.
added require-package, which installs the package if it's not already installed,
and load's it.