Foundation Template for Social Media Based Applications