Introduced directory hierarchy.
Updated .gitignore.