Implement rough draft of main lib

This includes js and css (used for transiction animations)
Add demo app

This is work in progress, and doesn't yet work (probably
due to main lib not yet working correcting)