Project restructure, JS require() improvements, bug fixes, began rewriting README