Modularized the current code
Added user data file