Library build, karma configuration and initial classes