Complete Rewrite

Rewrite of existing core; added Composer