Main has own src directory

Also added script to upload documentation, for some reason hackage is failing
to generate it automatically