code refactoring and added initial releases