Reorganized file structure. Changed template handling. Renamed followings to friends for clarity.