Added some facebook code.
Added proccess managment.