Changed style and naming conventions

Changed to `.hpp` and `.cpp`, changed indentation from spaces to tabs.