simplify template handling, introduce animate.css