Restructured code. Library repository created