ported cardmanager to scss and coffeescript