Revert "added .gitignore, cleaned codes"

This reverts commit 76a7c0640374cd6d6e6f6ed386a0a07d95eab099.