Fixed repository fetchMonth and added fetchPeriod

I think the lib is now ready. Let's get this frontend started!