Added request and input reading
Added base structure initialization