Restructured directory. Improved .gitignore to ignore all package folders. Minor code revisions.