Added basic template.

Added classes, main function, etc.