Release 3.1.7

Reorganised GitHub repository structure to make it easier for other developers to contribute

Source files linted and beautified