added Facebook support and clean up for the sake of code climate