implemented initial skeleton and credentials parser