Added reources, authorization logic, base skeleton classes