Refactor structure, register as a Bower component