Updated code to pre-release v1.2.8

Cleaned up code, updated readme