Added MANIFEST template
Bumped version to 0.4
Fixed alias errors. Tidy up code