Decodepenifiy repo and organise into modules