add secret.cfg to ignore
added libraries
connect, retrieve and restructure