Revert "refactoring: reducing method length"

This reverts commit 9dd15b0cc5ed9cc2184e62c909b996aa537a8123.
Revert "refactoring: reducing method length"

This reverts commit 0cd9dd293e90f6baf9391a9ac210acb41f1c3657.
add .gitignore