Fixed a couple bugs, moved essetup file.