Finish basic library formatting

Also should pull correct profileID