Restructured the code, and organized it a bit
Fixed typo in stalactite registration