Moved things to a source file
Added nightly build