If you are to creating a wallet like electrum or multibit.
why do you want to create a new wallet?
Where can i get some codes to start with? i believe this is an open source so i should be able to find one online right, but where?
they all have links to their source code on their website for example
https://electrum.org/#community which has the link to github repository here:
https://github.com/spesmilo/electrum/not recommended (always use their official site to find): you can also google things like "electrum source code" to find the github link.
you can also use
https://en.bitcoin.it/wiki/ which shows
https://github.com/keepkey/multibit for multibit