Add base calculation algorithm

Works fine
Let user enter multiple requests per application run