Adding bower configuration and some minor fixes