Updated imolecule

Syncing with latest updates on my repo. Rewrote to be simpler for end users.