added core code with two plugins FB and Twitter