If you wrote the code and did not explicitly sign the copyright in that code over to the group - then you own it. If someone else wrote the code then (assuming the above) they own it.
The "idea" is all about execution - as is often said here at HN - ideas are ten a penny - it is getting something done that counts.