FaceBook application using Design Patterns