created interfaces for bootstrap, request, response and refactored type hinting