Initial part of the mega library written