Initial commit of provied code + initial input parsing on the bank side