succesful calculation of period and appending to domain object in local
reorganized files for common angular modules